Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Address numpy and traits deprecations #3699

Merged
merged 14 commits into from
Nov 18, 2024

Conversation

effigies
Copy link
Member

To unlock projects that want to support numpy 2, we need to disable our pin and fix some bugs that were probably generated in the 2to3 transition, namely using np.savetxt(..., fmt=b'...').

Started to test on Python 3.13, but we're blocked on a release of traits. Ran with latest master and addressed deprecations.

@mgxd Would you be up for a quick review?

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 72.86%. Comparing base (1ccee34) to head (ddb73ac).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
nipype/algorithms/rapidart.py 25.00% 3 Missing ⚠️
nipype/algorithms/confounds.py 50.00% 1 Missing ⚠️
nipype/interfaces/fsl/epi.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3699      +/-   ##
==========================================
+ Coverage   70.81%   72.86%   +2.04%     
==========================================
  Files        1277     1278       +1     
  Lines       59153    59305     +152     
  Branches     8590        0    -8590     
==========================================
+ Hits        41890    43212    +1322     
+ Misses      16119    16093      -26     
+ Partials     1144        0    -1144     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@effigies
Copy link
Member Author

Okay, moving to tox because this CI is a pain to work with.

@effigies effigies force-pushed the fix/deprecations branch 2 times, most recently from 0aafdfc to d4f56eb Compare November 18, 2024 14:46
@effigies effigies merged commit 5dc8701 into nipy:master Nov 18, 2024
25 checks passed
@effigies effigies deleted the fix/deprecations branch November 18, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants